﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Numer0nServer;

namespace ServiceUnitTest
{
    [TestClass]
    public class UnitTest1
    {
        [TestMethod]
        public void Test_GetData()
        {
            var srv = new Service1();
            var text = srv.GetData(134);

            Assert.AreEqual("You entered: 134", text);
        }

        [TestMethod]
        public void Test_GetData2()
        {
            var srv = new Service1();
            var text = srv.GetData2(134);

            Assert.AreEqual("You entered2: 134", text);
        }
    }
}
